from students.studends.students_ui import StudentUI

if __name__ == '__main__':
    ui=StudentUI()
    option=input('请选择操作：1=添加学生，2=查询学生，3=更新学生，4=删除学生,5=退出:')

    while 1:
        if option =='1':
            ui.add()
        elif option =='2':
            ui.search()
        elif option =='3':
            ui.update()
        elif option =='4':
            ui.delete()
        elif option =='5':
            break
        else:
            print('no no no')
